Skip to content

docs: refresh platforms table, cert var names, and last-month additions#145

Merged
Oddly merged 2 commits intomainfrom
docs/sweep-last-month
Apr 23, 2026
Merged

docs: refresh platforms table, cert var names, and last-month additions#145
Oddly merged 2 commits intomainfrom
docs/sweep-last-month

Conversation

@Oddly
Copy link
Copy Markdown
Owner

@Oddly Oddly commented Apr 23, 2026

A sweep to pull the docs back in line with what the roles actually do after the last month of merges. Three classes of fix.

The supported-platforms table in the introduction page still listed Debian 11 Bullseye and RHEL 8, and was missing Ubuntu 26.04. That table is meant to mirror `roles/elasticsearch/meta/main.yml` (EL 9/10, Debian bookworm/trixie, Ubuntu jammy/noble/resolute) — now does. The other two platform references in docs were already correct.

The external-cert examples in `docs/how-to/deployment.md` referenced variables that don't exist in the roles: `kibana_tls_cert`/`_key`/`_ca`, `elasticsearch_http_tls_cert`/`_ca`, `elasticsearch_transport_tls_cert`/`ca`, and `elasticsearch_tls_cacerts` in the tip callout. Anyone copy-pasting that block was silently getting defaults. Fixed to the real names: `kibana_tls_certificate_file` family, `elasticsearch{http,transport}_tls_certificate`, and the single shared `elasticsearch_tls_ca_certificate` (the per-layer `_ca` variants never existed).

Two variable families landed recently without any docs coverage:

While there I also rewrote the "Handler guards" section. It described a single monolithic handler with four guards, but #137 split it into a direct/rolling dispatch with five guard conditions per handler (the `ansible_check_mode` guard had been missing from the list entirely).

Skipped from the audit: a couple of cosmetic inconsistencies (codenames vs version numbers between getting-started and introduction pages), a redundant mention of `virtualization_type` in two adjacent operational-notes sections (they cover different things), and a request for more examples on `elasticsearch_http_ssl_keystore_path`. Happy to do any of those as follow-ups if you disagree.

Summary by CodeRabbit

  • Documentation
    • Updated TLS certificate configuration guidance with revised parameter naming conventions for Kibana and Elasticsearch
    • Refreshed supported platforms matrix with updated Debian, Ubuntu, Rocky Linux, and RHEL version compatibility information
    • Added documentation for configuration-driven Elasticsearch restart strategies, cluster health management, and OS-level tuning options

Pull docs back into sync with what the roles actually do after the last
month of merges. Three classes of fix:

Platform table in the introduction page still listed Debian 11 and RHEL
8 and was missing Ubuntu 26.04. That table is supposed to mirror
roles/elasticsearch/meta/main.yml — now does.

The external-cert example in the deployment how-to referenced variables
that don't exist: kibana_tls_cert/key/ca, elasticsearch_*_tls_cert, the
non-existent elasticsearch_http_tls_ca and elasticsearch_transport_tls_ca,
and elasticsearch_tls_cacerts in a tip. Anyone copy-pasting the example
was getting a silent no-op. Swapped to the real names
(kibana_tls_certificate_file, elasticsearch_*_tls_certificate,
elasticsearch_tls_ca_certificate).

Added reference sections for the two variable families that landed
recently without docs: the elasticsearch_config_restart_strategy family
from the rolling-config-restart work, and elasticsearch_os_tuning from
the sysctl/THP tuning work. Also rewrote the Handler guards section —
it described a single handler with four guards, but the handler is now
split into direct/rolling dispatch paths with five guard conditions
each (the ansible_check_mode guard had been omitted too).
@Oddly Oddly added the ci:run Trigger gated pull request CI label Apr 23, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 23, 2026

Warning

Rate limit exceeded

@Oddly has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 45 minutes and 46 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 45 minutes and 46 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: e70b395e-e500-4e1a-b7d0-d92fd0b94ad7

📥 Commits

Reviewing files that changed from the base of the PR and between 45c3229 and 214ef1c.

📒 Files selected for processing (2)
  • docs/how-to/deployment.md
  • docs/reference/elasticsearch.md
📝 Walkthrough

Walkthrough

Documentation updates across three areas: TLS certificate configuration keys are renamed for Kibana and Elasticsearch, supported platform versions are adjusted for Debian, Ubuntu, and Rocky Linux/RHEL, and new documentation covers configuration-driven Elasticsearch restart strategies and OS-level tuning behavior.

Changes

Cohort / File(s) Summary
TLS Certificate Configuration
docs/how-to/deployment.md
Renames Kibana TLS keys from kibana_tls_cert/key/ca to kibana_tls_certificate_file/key_file/ca_file. Updates Elasticsearch CA guidance to use elasticsearch_tls_ca_certificate instead of elasticsearch_tls_cacerts. Consolidates HTTP and transport certificate examples with unified CA reference.
Platform Support Matrix
docs/introduction/index.md
Updates supported Debian versions to 12 and 13 (removes 11), expands Ubuntu to include 26.04 alongside 22.04 and 24.04, and narrows Rocky Linux/RHEL support to versions 9 and 10 (removes 8).
Elasticsearch Restart and Tuning Documentation
docs/reference/elasticsearch.md
Adds documentation for configuration-driven restart strategies (rolling vs. direct), rolling synced-flush behavior, cluster health gating, and retry/delay timing. Documents OS-level tuning via elasticsearch_os_tuning with container environment skipping. Updates handler-guard flow descriptions for restart notification dispatch paths and check-mode suppression.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the three main changes: platforms table refresh, certificate variable name corrections, and documentation for recently added features.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch docs/sweep-last-month

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot removed the ci:run Trigger gated pull request CI label Apr 23, 2026
Copy link
Copy Markdown

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/how-to/deployment.md`:
- Around line 81-82: The docs still reference the wrong variable name: replace
the incorrect kibana_tls_key_passphrase with the actual role variable
kibana_tls_certificate_passphrase in the optional passphrase example so users
copying the snippet will use the real variable; update the comment line and any
occurrences of kibana_tls_key_passphrase to kibana_tls_certificate_passphrase to
prevent silent no-op behavior.

In `@docs/reference/elasticsearch.md`:
- Line 533: Update the sentence describing when the Kibana restart is skipped to
mention both CA renewal and the `elasticstack_ca_will_expire_soon` condition;
change the line that currently says "The Kibana restart is skipped during CA
renewal." to include that the restart is also skipped when
`elasticstack_ca_will_expire_soon` is true (and keep the existing
`elasticstack_full_stack` context and meaning intact).
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 8f14483e-cbfa-4fa4-9ca9-35115a95181f

📥 Commits

Reviewing files that changed from the base of the PR and between cc69feb and 45c3229.

📒 Files selected for processing (3)
  • docs/how-to/deployment.md
  • docs/introduction/index.md
  • docs/reference/elasticsearch.md

Comment thread docs/how-to/deployment.md Outdated
Comment thread docs/reference/elasticsearch.md Outdated
…rt skip

Two findings from the review on #145:

The external-cert Kibana example in the deployment how-to still showed
kibana_tls_key_passphrase, but that variable belongs to the
role-generated (elasticstack_ca source) cert flow. The external-cert
path uses kibana_tls_certificate_passphrase per the defaults
annotation. Other occurrences of kibana_tls_key_passphrase in docs are
all in role-managed-cert contexts where they're correct, so only this
one line needed the swap.

Handler-guards section only mentioned CA-renewal as the Kibana restart
skip condition. The handler actually skips on both the renew_ca tag
and elasticstack_ca_will_expire_soon — both are in
roles/elasticsearch/handlers/main.yml. Updated to mention both and why
(those paths coordinate their own Kibana restart).
@Oddly Oddly added the ci:run Trigger gated pull request CI label Apr 23, 2026
@github-actions github-actions Bot removed the ci:run Trigger gated pull request CI label Apr 23, 2026
@Oddly Oddly merged commit 3148986 into main Apr 23, 2026
12 checks passed
@Oddly Oddly deleted the docs/sweep-last-month branch April 23, 2026 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant